Working with Data Source in R